{template header}
<a href="?c=admin&a=regUserReport&days=7" target="_self"><i class="icon-eye-open"></i> 最近7天</a> &nbsp;&nbsp;
<a href="?c=admin&a=regUserReport&days=30" target="_self"><i class="icon-eye-open"></i> 最近30天</a> &nbsp;&nbsp;
<div class="bs-docs-example mt-20">    
    <table class="table table-striped">
        <thead>
            <tr>
                <th>日期</th>
                <th>总计</th>
                <th>Android</th>  
                <th>iOS</th> 
                <th>未知</th>                                          
            </tr>
        </thead>
        <tbody>
            {loop $userData $k $v}
            <tr>                              
                <td>{$v['d']}</td>
                <td>{eval echo ($v['Android']+$v['iOS']+$v['Others'])}</td> 
                <td>{$v['Android']}</td>   
                <td>{$v['iOS']}</td>  
                <td>{$v['Others']}</td>              
            </tr>
            {/loop}
        </tbody>
    </table>
</div>
{template footer}
